/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.scm.hibernate.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author RANGER
 */
@Table(name = "schedules")
@Entity
public class Schedule extends AbstractEntity {
    
    @Id
    @GeneratedValue
    @Column(name = "id")
    private Long id;
    
    @Column(name = "fid")
    private Long fid;
    
    @Column(name = "divid")
    private Long divid;
    
    @Column(name = "subid")
    private Long subid;
    
    @Column(name = "schdate")
    private String schdate;
    
    @Column(name = "schtime")
    private String schtime;
    
    @Column(name = "type")
    private Boolean type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFid() {
        return fid;
    }

    public void setFid(Long fid) {
        this.fid = fid;
    }

    public Long getDivid() {
        return divid;
    }

    public void setDivid(Long divid) {
        this.divid = divid;
    }

    public Long getSubid() {
        return subid;
    }

    public void setSubid(Long subid) {
        this.subid = subid;
    }

    public String getSchdate() {
        return schdate;
    }

    public void setSchdate(String schdate) {
        this.schdate = schdate;
    }

    public String getSchtime() {
        return schtime;
    }

    public void setSchtime(String schtime) {
        this.schtime = schtime;
    }

    public Boolean isType() {
        return type;
    }

    public void setType(Boolean type) {
        this.type = type;
    }
    
    
    
    
}
